#pragma once
#include "d3dUtil.h"

class Entity
{
protected:
	D3DXVECTOR3 Position, Velocity;
	
public:
	Entity();
	Entity(D3DXVECTOR3 nPosition, D3DXVECTOR3 nVelocity);
	virtual ~Entity();

	virtual void Update(float dt) = 0;
	virtual void Render( void ) = 0;


	void SetVelocity(D3DXVECTOR3 NewVelocity);
	void SetPosition(D3DXVECTOR3 NewPosition);

	D3DXVECTOR3 GetVelocity( void );
	D3DXVECTOR3 GetPosition( void );
};